export default {
  data() {
    return {
      commonMap: {
      },
      dialogVisible: false,
      form: {
        ${(businessCode?uncap_first)!''}Code: '',
        name: ''
      }
    }
  },
  methods: {
    dialogOpen() {
      this.$http({
        url: '${api_root_url!}/v1/${moduleMapperCode}/${(businessCode?uncap_first)!''}/getById/view',
        method: 'post',
        data: { ${(businessCode?uncap_first)!''}Id: this.form.${(businessCode?uncap_first)!''}Id }
      }).then(response => {
        this.form = response.data
      })
    },
    dialogClose() {
      this.$refs.form.resetFields()
    }
  }
}
